home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2001 December
/
Chip_2001-12_cd1.bin
/
zkuste
/
tuning
/
download
/
xteq
/
setup.exe
/
{app}
/
plugins
/
XQ WinME Scandisk On Boot 1.xpl
< prev
next >
Wrap
Text File
|
2001-04-16
|
1KB
|
43 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\30) ScanDisk"
"NAME"="ScanDisk Options (WinMe)"
"VERSION"="1.01"
"OSVERSION"="000010"
"LANGUAGE"="VBScript"
"TEXT 1"="Run Scandisk on boot"
"DESCRIPTION 1"="If Windows detects that your PC has crashed, it starts ScanDisk while booting to correct any HD failures."
"AUTHOR"="Neil R. Turner (totalxs@hotmail.com) for Xteq Systems"
"CONTACTURL"="http://www.neilrt.cwc.net/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to John Mulcahy [john_mulcahy@hotmail.com] and TeXHeX [TeXHeX@xteq.com] for the idea!"
' Nothing like a nice easy plug-in, eh?
sP="HKLM\System\CurrentControlSet\Control\FileSystem\DisableScandiskOnBoot" ' DWORD
Sub Plugin_Initialize
s=RegReadValue(sP)
if s=01 then
Call SetUIElement(1, true)
end if
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sP,01,2)
else
Call RegDeleteValue(sP)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub